package com.lanou3g.code0409.common;

/**
 * Created by dllo on 18/4/9.
 */
public class TestChar {
    public static void main(String[] args) {
        char a='A';
        int a1=65;
        char b =(char)65;//把65强制类型转换成char
        int b1=(int)'A';
        System.out.println(b1);

        char d='D';
        char e='E';
        System.out.println(d>e);

            for (char c='A';c<='Z';c++){
                System.out.println(c);
            }

        for (int i = 65; i <65+26 ; i++) {
            char c =(char)i;
            System.out.println(c);


        }

    }
}
